package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Setmeal;

import java.util.List;

//套餐
public interface SetmealService {

    //分页查询
    Page<Setmeal> findByPage(String name, Integer pageNum, Integer pageSize);

    //保存套餐
    void save(Setmeal setmeal);

    //删除套餐
    void deleteByIds(Long[] ids);

    List<Setmeal> findByCategoryId(Long categoryId, Integer status);
}